package com.xxl.vueadmin.service;

import com.xxl.vueadmin.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xu
 * @since 2021-07-28
 */
public interface ISysUserService extends IService<SysUser> {

    SysUser getBayUserName(String userName);

    /**
     * 获取用户权限字段
     * @param userId
     * @return
     */
    String gerUserAuthority(String userId);

    void clearUserAuthority(String userId);

    void clearRoleAuthority(String roleId);

    void clearMenuAuthority(String menuId);

}
